home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5395 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: FindTask() VERY IMPORTANT
  5. Date: 13 Mar 1996 19:39:39 +0100
  6. Organization: dis-
  7. Message-ID: <4i74pb$b4f@serpens.rhein.de>
  8. References: <4hm7qm$otm@news.uni-paderborn.de> <4hnmob$gdb$1@mhadf.production.compuserve.com> <4hp3cv$cqe@serpens.rhein.de> <4i64pk$ia1@news.xs4all.nl>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. marcone@xs1.xs4all.nl (Marco Nelissen) writes:
  12.  
  13. >NEWSFLASH: SysBase->ThisTask is not a cool hack. It's documented
  14. >as being readable, and thus we are (were) allowed to use it.
  15. >It's got nothing to do with hacking, get off your high horse...
  16.  
  17. I can only repeat myself:
  18.  
  19. If there is a system function for a task then use it instead of peeking
  20. data structures.
  21.  
  22. This has a reason as the function interface allows to change the data
  23. structures, it also allows access policies. Is it too difficult to
  24. grasp for you ?
  25.  
  26. Peeking ThisTask serves only two purposes: to spare the few cycles for
  27. the function call at the cost of compatibility and to show how c00l you
  28. are because you know what the system does. Is it that what you want ?
  29.  
  30. -- 
  31.                                 Michael van Elst
  32.  
  33. Internet: mlelstv@serpens.rhein.de
  34.                                 "A potential Snark may lurk in every tree."
  35.